package com.healthcloud.dao;

import org.apache.ibatis.annotations.Param;

import com.healthcloud.entity.HospDrAsso;

/**
 * Created by xiam on 2015/6/17.
 */
public interface HospDrAssoMapper extends CRUDMapper<HospDrAsso, Long> {
    void deleteByDrId(@Param("drId") Long drId);

    /**
     * 根据科室代码删除表数据（删除医院与科室关联表信息时调用）
     * */
    void deleteByOfficeCode(@Param("officeCode") Long officeCode);

    /**
     * 根据科室代码批量删除表数据（删除医院与科室关联表信息时调用）
     * */
    void deleteByOfficeCodes( Long[] officeCodes);
}
